package fr.toto.constantes;

import java.awt.Image;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Locale;
import java.util.Properties;
import java.util.ResourceBundle;

import fr.toto.settings.SettingsBean;
import fr.toto.triseries.Main;

public interface Constantes {

	public static final String VERSION = Main.class.getPackage().getImplementationVersion();

	static final long[] trysearchsub = { 1, 2, 3, 4, 5, 7, 9, 11, 13, 15, 20,
			25, 30, 35, 40, 45, 50, 75, 100 };


	public static Locale currentLocale = new Locale("fr", "FR");

	public static String SubscribeURI = "http://www.betaseries.com/inscription";

	public static String BetaSeriesURI = "http://www.betaseries.com/";

	public static String APIKEY = "9528d3c8b6ad";

	public static String PGMNAME = "TriSeries";

	public static Path LOOKXMLPATH = Paths.get(".triseries_save/look.xml");

	public static Path MENUTXTPATH = Paths.get(".triseries_save/menu.txt");

	public static Path SETTINGSPATH = Paths.get(".triseries_save/Settings.xml");

	public static Path LISTSHOWPATH = Paths.get(".triseries_save/series.txt");

	public static Path LISTSUBPATH = Paths.get(".triseries_save/soutitres.dat");
	
	public static String CharsetName = "UTF-8";
	
	public static Image iconWait = java.awt.Toolkit.getDefaultToolkit()
			.getImage(Main.class.getResource("/images/play.png"));

	public static Image iconBusy = java.awt.Toolkit.getDefaultToolkit()
			.getImage(Main.class.getResource("/images/busy.gif"));

	public static ResourceBundle MESSAGES = ResourceBundle.getBundle(
			"fr.toto.constantes.MessagesBundle", currentLocale);

	public static ResourceBundle DEBUGMSG = ResourceBundle
			.getBundle("fr.toto.constantes.DebugMessageBundle");
	
	public static ResourceBundle ERRORMSG = ResourceBundle
			.getBundle("fr.toto.constantes.ErrorMessageBundle");
	
	public static SettingsBean settings = new SettingsBean();

	public static Properties configMenu = Main.MenuProperties();

	public static Properties seriesFile = Main.initSeriesFile();

}
